package com.miao.entity;

public class Person {

    private String name;
    private Long id;
    private String telPhone;
    private Long workId;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTelPhone() {
        return telPhone;
    }

    public void setTelPhone(String telPhone) {
        this.telPhone = telPhone;
    }

    public Long getWorkId() {
        return workId;
    }

    public void setWorkId(Long workId) {
        this.workId = workId;
    }


    public Person() {
    }

    public Person(String name, Long id, String telPhone, Long workId) {
        this.name = name;
        this.id = id;
        this.telPhone = telPhone;
        this.workId = workId;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", id=" + id +
                ", telPhone='" + telPhone + '\'' +
                ", workId=" + workId +
                '}';
    }
}
